/*
package com.beone.smart.userCenter.security;

import com.beone.smart.userCenter.model.entity.UserInfoDO;
import com.beone.smart.userCenter.service.intf.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

*/
/**
 * @Date: 2019/8/6
 * @Author: yangjie
 **//*

@Service
public class UserDetailsServiceImpl implements UserDetailsService {

    @Autowired
    private UserInfoService userInfoService;

    @Override
    public UserDetails loadUserByUsername(String s) throws UsernameNotFoundException {
        UserInfoDO user = userInfoService.getById(s);
        return new JwtUser();
    }

}
*/
